<?php

class Banner {

    /**
     *
     * @var int
     */
    public $banner_id;

    /**
     *
     * @var string
     */
    public $name;

    /**
     *
     * @var string
     */
    public $text;
    
    /**
     *
     * @var int
     */
    public $num_clicks;
    
    /**
     *
     * @var date
     */
    public $created_date;
    
    /**
     *
     * @var date
     */
    public $start_date;

    /**
     *
     * @var date
     */
    public $expired_date;

    /**
     *
     * @var int
     */
    public $client_id;

    /**
     *
     * @var string
     */
    public $code;

    /**
     *
     * @var string
     */
    public $click_url;
    
    /**
     *
     * @var enum
     */
    public $target;
    
    /**
     *
     * @var enum
     */
    public $format;

    /**
     *
     * @var string
     */
    public $image_url;

    /**
     *
     * @var int
     */
    public $ordering;

    /**
     *
     * @var enum
     */
    public $mode;

    /**
     *
     * @var int
     */
    public $timeout;

    /**
     *
     * @var enum
     */
    public $status;
    


    public function  __construct($banner_id = null, $name = null, $text = null, $num_clicks = null, $created_date = null, $start_date = null,
    							 $expired_date = null, $client_id = null, $code = null, $click_url = null, $target = null, $format = null,
    							 $image_url = null, $ordering = null, $mode = null, $timeout = null, $status =null) {

        $this->banner_id = $banner_id;
        $this->name = $name;
        $this->text = $text;
        $this->num_clicks = $num_clicks;
        $this->created_date = $created_date;
        $this->start_date = $start_date;
        $this->expired_date = $expired_date;
        $this->client_id = $client_id;
        $this->code = $code;
        $this->click_url = $click_url;
        $this->target = $target;
        $this->format = $format;
        $this->image_url = $image_url;
        $this->ordering = $ordering;
        $this->mode = $mode;
        $this->timeout = $timeout;
        $this->status = $status;
    }
}


class ListBanners{

    /**
     *
     * @var Branch[]
     */
    public $Banners;
}